@charset "UTF-8";

.sectiondiv {
    width: 100%;
    padding-top: 100px;
    margin-left: auto;
    margin-right: auto;
    color: white;
}

.sectionheader {
    width: 95%;
    border-bottom: 1px solid grey;
    height: 40px;
    font-size: 26px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 15px;
}

.topicdiv {
    margin-top: -50px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.topic {
    display: block;
    min-height: 100px;
    width: 750px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 1);
}

.topic:hover {
    box-shadow: 0 0 15px rgba(255, 255, 255, 1);
    cursor: pointer;
}

.topicheader {
    padding-top: 5px;
    padding-left: 20px;
    max-width: 95%;
    max-height: 40px;
    text-decoration: underline;
    font-size: 16px;
}

.topicinfo {
    width: 30%;
    font-size: 14px;
    display: inline-block;
    padding-top: 10px;
    padding-left: 20px;
}

.topicinfodiv {
    width: 100%;
    height: 25px;
}

.topiclast {
    margin-top: 2px;
    display: block;
    width: 600px;
    margin-left: 40px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 1);
}

#pages {
    width: 105px;
    font-size: 14px;
    border: 1px solid transparent;
    color: white;
    height: 15px;
    text-align: center;
    margin-left: 10px;
    display: inline-block;
}

.page {
    max-width: 20px;
    width: 17px;
    min-height: 15px;
    box-shadow: 0 0 7px rgba(0, 0, 0, 1);
    text-align: center;
    background-color: black;
    display: inline-block;
}

.page:hover {
    box-shadow: 0 0 15px rgba(255, 255, 255, 1);
    cursor: pointer;
}

.lastcomment {
    width: 100%;
}

.lasttopiccommentinfo {
    width: 30%;
    font-size: 14px;
    display: inline-block;
    padding-top: 10px;
    padding-left: 20px;
    vertical-align: top;
}

.lasttopiccommentinfodiv {
    width: 100%;
    height: 25px;
}

.commentpart {
    width: 65%;
    margin-top: 5px;
    display: inline-block;
    border: 1px solid grey;
    height: 70px;
    font-style: italic;
    font-size: 14px;
    vertical-align: top;
}

#newtopicform {
    font-size: 14px;
    margin-top: 60px;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 0 15px rgba(0, 0, 0, 1);
    padding: 10px;
}

#textarea {
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=10); /* IE 5.5+*/
    -moz-opacity: 0.1; /* Mozilla 1.6 и ниже */
    -khtml-opacity: 0.1; /* Konqueror 3.1, Safari 1.1 */
    opacity: 0.1;
    width: 90%;
    margin-left: 20px;
    margin-top: 10px;
    cursor: text;
    font-size: 16px;
    font-style: italic;
}

#textarea:hover {
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=100); /* IE 5.5+*/
    -moz-opacity: 1; /* Mozilla 1.6 и ниже */
    -khtml-opacity: 1; /* Konqueror 3.1, Safari 1.1 */
    opacity: 1;
}

#textarea:focus {
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=100); /* IE 5.5+*/
    -moz-opacity: 1; /* Mozilla 1.6 и ниже */
    -khtml-opacity: 1; /* Konqueror 3.1, Safari 1.1 */
    opacity: 1;
}

#select {
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=10); /* IE 5.5+*/
    -moz-opacity: 0.1; /* Mozilla 1.6 и ниже */
    -khtml-opacity: 0.1; /* Konqueror 3.1, Safari 1.1 */
    opacity: 0.1;
    width: 200px;
    font-size: 14px;
    font-style: italic;
    margin-left: 105px;
}

#select:hover {
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=100); /* IE 5.5+*/
    -moz-opacity: 1; /* Mozilla 1.6 и ниже */
    -khtml-opacity: 1; /* Konqueror 3.1, Safari 1.1 */
    opacity: 1;
}

#select:focus {
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=100); /* IE 5.5+*/
    -moz-opacity: 1; /* Mozilla 1.6 и ниже */
    -khtml-opacity: 1; /* Konqueror 3.1, Safari 1.1 */
    opacity: 1;
}

#topicbutton {
    font-size: 14px;
    border: 1px solid transparent;
    box-shadow: 0 0 15px rgba(0, 0, 0, 1);
    color: white;
    width: 100px;
    height: 30px;
    text-align: center;
    background-color: black;
    padding-top: 8px;
    display: inline-block;
    margin-left: 20px;
}

#topicbutton:hover {
    box-shadow: 0 0 15px rgba(255, 255, 255, 1);
    cursor: pointer;
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .sectionheader {
        font-size: 28px;
    }

    .topicheader {
        font-size: 18px;
    }

    .topicinfo {
        font-size: 16px;
    }

    .lasttopiccommentinfo {
        font-size: 16px;
    }

    .commentpart {
        font-size: 16px;
    }

    #newtopicform {
        font-size: 16px;
    }

    #select {
        font-size: 16px;
        margin-left: 121px;
    }

    #topicbutton {
        font-size: 16px;
    }
}